import request from '@/utils/request'

// 查询请求返回订单修改限制条件列表
export function listExcPortUpdateCondition(query) {
  return request({
    url: '/pm/excPortUpdateCondition/list',
    method: 'get',
    params: query
  })
}

// 查询请求返回订单修改限制条件详细
export function getExcPortUpdateCondition(id) {
  return request({
    url: '/pm/excPortUpdateCondition/' + id,
    method: 'get'
  })
}

// 新增请求返回订单修改限制条件
export function addExcPortUpdateCondition(data) {
  return request({
    url: '/pm/excPortUpdateCondition',
    method: 'post',
    data: data
  })
}

// 修改请求返回订单修改限制条件
export function updateExcPortUpdateCondition(data) {
  return request({
    url: '/pm/excPortUpdateCondition',
    method: 'put',
    data: data
  })
}

// 删除请求返回订单修改限制条件
export function delExcPortUpdateCondition(id) {
  return request({
    url: '/pm/excPortUpdateCondition/' + id,
    method: 'delete'
  })
}
